package com.py.custom.business.demo.protocol.request;


import com.py.custom.business.demo.protocol.groups.TemplateGroup;
import com.py.custom.common.web.request.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author liuyue
 * @date 2021/11/12 19:20
 * @desc
 */
@Data
public class UpdateTemplateRequest extends BaseRequest {

    @NotNull(message = "模板id不能为空", groups = TemplateGroup.UpdateGroup.class)
    private String templateId;
    
    
    @NotNull(message = "名字不能为空", groups = TemplateGroup.UpdateGroup.class)
    private String templateName;


    @NotNull(message = "模板类型不能为空", groups = TemplateGroup.UpdateGroup.class)
    private Integer templateType;


    @NotNull(message = "模板内容不能为空", groups = TemplateGroup.UpdateGroup.class)
    private String templateContent;

    private String variableValue;

    private String templateDesc;

}
